home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / mfinputs / roman / mf
Encoding:
Text File  |  1988-02-26  |  2.9 KB  |  66 lines

  1. % This is ROMAN.MF in text format, as of Mar 31, 1986.
  2. % The Computer Modern Roman family of fonts (by D. E. Knuth, 1979--1985)
  3.  
  4. if ligs>1: font_coding_scheme:="TeX text";
  5.  spanish_shriek=oct"074"; spanish_query=oct"076";
  6. else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
  7.   else: "TeX text without f-ligatures" fi;
  8.  spanish_shriek=oct"016"; spanish_query=oct"017"; fi
  9.  
  10. mode_setup; font_setup;
  11.  
  12. input romanu;  % upper case (majuscules)
  13. input romanl;  % lower case (minuscules)
  14. input greeku;  % upper case Greek letters
  15. input romand;  % numerals
  16. input romanp;  % ampersand, question marks, currency sign
  17. input romspl;  % lowercase specials (dotless \i, ligature \ae, etc.)
  18. input romspu;  % uppercase specials (\AE, \OE, \O)
  19. input punct;  % punctuation symbols common to roman and italic text
  20. input accent;  % accents common to roman and italic text
  21. if ligs>1: input romlig; fi  % letter ligatures
  22. if ligs>0: input comlig; fi  % ligatures common with italic text
  23. if ligs<=1: input romsub; fi  % substitutes for ligatures
  24.  
  25. ligtable "!": "`" =: spanish_shriek;
  26. ligtable "?": "`" =: spanish_query;
  27. font_slant slant; font_x_height x_height#;
  28. if monospace: font_normal_space 9u#; % no stretching or shrinking
  29.  font_quad 18u#;
  30.  font_extra_space 9u#;
  31. else: font_normal_space 6u#+2letter_fit#;
  32.  font_normal_stretch 3u#; font_normal_shrink 2u#;
  33.  font_quad 18u#+4letter_fit#;
  34.  font_extra_space 2u#;
  35.  k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
  36.  ligtable "k": if serifs: "v": "a" kern -u#, fi\\"w": "e" kern k#,
  37.   "a" kern k#, "o" kern k#, "c" kern k#;
  38.  ligtable "P": "A" kern kk#,
  39.   "y": "o" kern k#, "e" kern k#, "a" kern k#, "." kern kk#, "," kern kk#;
  40.  ligtable "F": "V": "W": if serifs: "o" kern kk#, "e" kern kk#, "u" kern kk#,
  41.     "r" kern kk#, "a" kern kk#, "A" kern kkk#,
  42.    else: "o" kern k#, "e" kern k#, "u" kern k#,
  43.     "r" kern k#, "a" kern k#, "A" kern kk#, fi
  44.   "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
  45.  ligtable "T": "y" kern if serifs: k# else: kk# fi,
  46.   "Y": "e" kern kk#, "o" kern kk#,
  47.    "r" kern kk#, "a" kern kk#, "A" kern kk#, "u" kern kk#;
  48.  ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
  49.    "V" kern k#, "Y" kern k#;
  50.  if serifs: ligtable "h": "m": "n":
  51.    "t" kern k#, "u" kern k#, "b" kern k#, "y" kern k#, "v" kern k#, "w" kern k#;
  52.   ligtable "c": "h" kern k#, "k" kern k#; fi
  53.  ligtable "o": "b": "p": "e" kern -k#, "o" kern -k#, "x" kern k#,
  54.    "d" kern -k#, "c" kern -k#, "q" kern -k#,
  55.   "a": if serifs: "v" kern k#, "j" kern u#, else: "r" kern k#, fi
  56.   "t": "y" kern k#,
  57.   "u": "w" kern k#;
  58.  ligtable "A": if serifs: "R": fi\\ "t" kern k#,
  59.   "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
  60.   "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#;
  61.  ligtable "g": "j" kern -k#; % logjam
  62.  ligtable "I": "I" kern -k#; fi % Richard III
  63.  % there are ligature/kern programs for |"f"| in the {\tt romlig} file
  64.  % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
  65. bye.
  66.